package com.cjl.auth.service;

import com.cjl.model.system.SysDept;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 组织机构 服务类
 * </p>
 *
 * @author cjl
 * @since 2023-03-19
 */
public interface SysDeptService extends IService<SysDept> {

    void updateStatus(Long id, Integer status);

    List<SysDept> getDeptList();

    void removeDeptById(Long id);

    Map<String, Object> findDeptByUserId(Long userId);
}
